package com.ljm.sys.auth.dto;

import java.io.Serializable;

public class VueMenuMetaDto implements Serializable {
    private String[] roles; //设置该路由进入的权限，支持多个权限叠加
    private String title; //设置该路由在侧边栏和面包屑中展示的名字
    private String icon; //设置该路由的图标
    private boolean noCache; //如果设置为true，则不会被 <keep-alive> 缓存(默认 false)
    private boolean breadcrumb=false; // 如果设置为false，则不会在breadcrumb面包屑中显示

    public String[] getRoles() {
        return roles;
    }

    public void setRoles(String[] roles) {
        this.roles = roles;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isNoCache() {
        return noCache;
    }

    public void setNoCache(boolean noCache) {
        this.noCache = noCache;
    }

    public boolean isBreadcrumb() {
        return breadcrumb;
    }

    public void setBreadcrumb(boolean breadcrumb) {
        this.breadcrumb = breadcrumb;
    }
}
